<style type="text/css">
  #fileInput{
    position:absolute;
    right: 0px;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
  }
</style>
<ion-view hide-nav-bar="true">
  <ion-content>
  <div>
    <!--图片-->
    <div style="color:#E8E0E0;text-align: center">
      <!--<div style="text-align:center;">-->
        <!--<div style="height: 50px;width: 70px" ed-uploader data-options="text:' 选择图片',accept : 'image/*'"-->
             <!--class="ng-uploader" ng-model="detail.file">-->
        <!--</div>-->
      <!--</div>-->
      <div class="row" style="text-align:center;">
        <div class="col col-25 ng-uploader" style="height: 70px;border:1px dashed #E5E5E5" ed-uploader data-options="text:' 选择图片',accept : 'image/*'"
             ng-model="detail.file">

        </div>
        <div ng-if="detail.file != undefined && detail.file.path != undefined" class="col col-25" style="height: 70px;margin-left: 5px;border:1px dashed #E5E5E5" ng-click="showBig(detail.file.path)">
          <img ng-src="{{nginxPath + detail.file.path}}" style="width:100%;height: 70px;margin-top: -6px;"/>
        </div>
      </div>

    </div>
    <!--备注-->
    <div>
      <label class="item item-input" style="border: none;width: 100%;">
        <textarea placeholder="请输入备注" ng-model="detail.comment" style="border:1px solid #E7E7E7;width:102%;height: 120px;margin-left: -10px;padding: 5px;"></textarea>
      </label>
    </div>

    <div style="border: 1px solid #E7E7E7;margin:5px 5px 0 5px;padding: 5px 0 5px 5px" >
      <span style="margin-left:5px;font-size: 18px;">
        检查结果:
      </span>
      <div class="row" style="padding-top: 0;padding-left: 0;padding-right: 0;width: 100%">
        <div class="row">
          <div class="col col-25" style="border: 1px solid #7BBFF9;text-align: center" onclick="resultCheck(this,'1')">
            <a style="color:#6CB8F8;font-size: 15px;" href="javascript:void(0)" >符合</a>
          </div>
          <div class="col col-25" style="margin: 0 5px 0 5px;border: 1px solid #E7E7E7;;text-align: center" onclick="resultCheck(this,'0')">
            <a style="color:#959595;font-size: 15px;" href="javascript:void(0)">不符合</a>
          </div>
        </div>

      </div>
    </div>
    <div style="width: 100%;padding-top: 5px;padding-bottom: 5px;">
      <button ng-click="resCheckSubmit()" class="button button-positive" style="margin:0 5px 0 3px; width: 98%">提交</button>
    </div>
  </div>

  <div id="rightDisplay" ng-if="bigImage" class="col-center"
       ng-style="imgDivStyle"
       ng-click="hideBigImage()"
       on-swipe-left="swipeLeft()"
       on-swipe-right="swipeRight()">
    <img class="img-responsive"
         ng-style="imgStyle"
         ng-src="{{Url}}"/>
  </div>

</ion-content>
</ion-view>
